const AUTH_TOKEN_KEY = "AUTH_TOKEN"
export function setToken(value) {
    sessionStorage.setItem(AUTH_TOKEN_KEY, value)
}
export function getToken(value) {
    return sessionStorage.getItem(AUTH_TOKEN_KEY)
}

export function removeToken() {
    sessionStorage.removeItem(AUTH_TOKEN_KEY)
}

export function setSession(key, value) {
    sessionStorage.setItem(key, value)
}

export function getSession(key) {
    return sessionStorage.getItem(key)
}

export function removeSession(key) {
    sessionStorage.removeItem(key)
}

export function clearAllSession() {
    sessionStorage.clear()
}
